package Dome0;

public class Text0 extends Base0{
    public void method(){
        System.out.println("我是Text0的method()");
    }
    public static void main(String[] args) {
       Text0 t= new Text0();
       t.method();
       t.method2();
    }
    public void method2(){
        super.method();
        this.fun();
    }
}
class Base0{
    public void method(){
        System.out.println("我是Base0的method()");
    }
    public void fun(){
        System.out.println("我是Base0的fun()");
    }

}

